//
//  ThemeComment.h
//  奇阅
//
//  Created by 奇阅科技 on 14-11-10.
//  Copyright (c) 2014年 奇阅科技. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Book;
@interface ThemeComment : NSObject
@property (nonatomic, strong) NSString *uid;            //用户的ID
@property (nonatomic, strong) NSString *commentid;      //评论的ID
@property (nonatomic, strong) NSString *articleid;
@property (nonatomic, strong) Book *book;
@property (nonatomic, strong) NSString *time;           //时间戳
@property (nonatomic, strong) NSString *nickName;       //用户昵称
@property (nonatomic, strong) NSString *headimg;        //用户头像
@property (nonatomic, strong) NSString *contents;       //评论内容
@property (nonatomic, strong) NSString *point_like;     //赞数量
@property (nonatomic, strong) NSString *reply_num;      //回复数量
///作品的评论页面获取的数据
+(ThemeComment *)getFromDict:(NSDictionary *)dict withBook:(Book *)book;
///我的书评接口获取的数据
+(ThemeComment *)getMyThemeCommentFromDict:(NSDictionary *)dict;
///作品的主题评论的回复页面获取的数据
+(ThemeComment *)getThemeCommentFromDict:(NSDictionary *)dict;
///更新 数据
-(void)upDateNew:(ThemeComment *)newComment;
@end
